interface FetchVerifyPhotosAPIParams {
  id: string
  page: string
  limit: string
}

interface FetchVerifyPhotosAPIResData {
  code: number
  msg: string
  time: string
  data: {
    data: PhotoWithClassID[]
    current_page: number
    total: number
    per_page: number
    last_page: number
  }
}

/**
 * @description 根据传入的班级 id，分页获取审核中照片列表数据
 */
export function fetchVerifyPhotosAPI(params: FetchVerifyPhotosAPIParams, token: string) {
  return httpInstance.get<FetchVerifyPhotosAPIResData, FetchVerifyPhotosAPIParams>(
    '/api/sign/albumwaitlist',
    { params, headers: { token } },
  )
}
